<template>
  <div class="body">
    <h2>宝藏生活</h2>
    <div class="tuijian">
      <div class="shopinfo" v-for="i in 4" :key="i">
        <img src="../../assets/touxiang.webp" alt="" />
        <div class="right">
          <h3>商超遍历</h3>
          <span>配送0元起 菜肉先到家</span>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style scoped>
.body {
  width: 100%;
  height: 1.88rem;
  padding: 0 0.1rem;
}
.tuijian {
  width: 3.54rem;
  height: 1.33rem;
  display: flex;
  justify-content: space-around;
  align-content: space-around;
  flex-wrap: wrap;
}
h2 {
  font-size: 0.16rem;
  font-weight: 700;
  color: rgb(56, 55, 55);
  margin-bottom: 0.14rem;
}
.shopinfo {
  width: 1.7rem;
  height: 0.6rem;
  background-color: rgb(243, 233, 245);
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: 0.06rem;
  border-radius: 0.1rem;
}
.shopinfo > img {
  width: 0.44rem;
  height: 0.44rem;
  border-radius: 0.1rem;
}
.right {
  width: 1.2rem;
  height: 0.46rem;
  margin-left: 0.06rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.right > h3 {
  font-size: 0.14rem;
  font-weight: 600;
  color: rgb(82, 80, 80);
  margin-bottom: 0.06rem;
}
.right > span {
  font-size: 0.12rem;
  color: rgb(92, 92, 92);
}
</style>